package com.zhangxu.junior.domain;

import org.springframework.stereotype.Repository;

/**
 * @Author zhang xu
 * @Date 2022/6/20 13:18
 * @PackageName:com.zhangxu.junior.domain
 * @ClassName: Course
 * @Description: TODO
 * @Version 1.0
 */

@Repository
public class Course {

    /**课程ID*/
    private Long id;

    /**课程名称*/
    private String courseName;

    /**课程分数*/
    private Float credit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Float getCredit() {
        return credit;
    }

    public void setCredit(Float credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", courseName='" + courseName + '\'' +
                ", credit=" + credit +
                '}';
    }

    //    /**学生集合*/
//    private List<Student> students;
//
//    /**学生组*/
//    private Long[] studentIds;

}
